package ch06.decorator;

/**
 * @description: 类描述
 * @author: Fesine
 * @createTime:2016/8/29 14:13
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2016/8/29 14:13
 */
public class Finery extends Person {
    protected Person person;

    public void decorator(Person person) {
        this.person = person;
    }

    @Override
    public void show() {
        if (person != null) {
            person.show();
        }
    }
}
